<style>
    body{
        background-color: #f9f9f9;
        overflow-y: hidden;
    }
    td label{
        float: right;
        margin-right: 20px;
    }
</style>
<script>
    {%  if nodeData is defined %}
        var info = {{ nodeData }};
    {% else  %}
        var info = null;
    {% endif %}
</script>
<form id="xh_form" class="xh-form"  method="post"   style="margin-left: 20px;">
    <div class="xh-area-form">
        <table style="width: 100%">
            <tr>
                <td><label>名称:</label></td>
                <td style="width: 180px;"><input style="width: 180px" name="sNodeName" type="text" must="true" maxlength="50" autocomplete="off"></td>
                <td><label>模板类型:</label></td>
                <td><input value="{{ templateType }}" readonly="readonly"></td>
                <input  name="iNodeId" type="hidden">
                <input id="iTPId"  name="iTPId" value="{{ iTPId }}" type="hidden">
                <input name="iParentId" type="hidden">
            </tr>
            {% if type == 1 %}
                <tr>
                    <td><label>标准标识:</label></td>
                    <td>
                        <input style="width: 180px" name="iTargetId" type="number" must="true" maxlength="50" autocomplete="off" placeholder="请输入数字">
                    </td>
                    <td colspan="2"><i style="font-size: x-small">(该标识将在创建‘运营项目’时使用)</i></td>
                </tr>
            {% endif %}
            <tr>
                <td><label>排序:</label></td>
                <td >
                    <input type="number" name="iSort">
                </td>
            </tr>
            <tr>
                <td valign="top"><label style="margin-top: 5px">内容:</label></td>
                <td colspan="4">
                    <textarea rows="3" name="sContent" ></textarea>
                </td>
            </tr>
            <tr>
                <td valign="top"><label style="margin-top: 5px">备注:</label></td>
                <td colspan="3">
                    <textarea rows="2" name="mDesc" ></textarea>
                </td>
            </tr>
        </table>
    </div>
    <div class="xh-area-button" style="padding-left: 75px;background-color: inherit">
        {% if FormButton is defined %}{{ FormButton }}{% endif %}
    </div>
</form>